package com.foreveross.vo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import com.foreveross.vo.common.AffiliatedBaseVo;

/**
 * ProductType entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "product_type", catalog = "hrtenement")
public class ProductType extends AffiliatedBaseVo implements java.io.Serializable {

	// Fields

	private String id;
	private String proCode;
	private String proName;
	private String proLineCode;
	private String proLineName;

	// Constructors

	/** default constructor */
	public ProductType() {
	}

	/** minimal constructor */
	public ProductType(String id) {
		this.id = id;
	}

	/** full constructor */
	public ProductType(String id, String proCode, String proName,
			String proLineCode, String proLineName) {
		this.id = id;
		this.proCode = proCode;
		this.proName = proName;
		this.proLineCode = proLineCode;
		this.proLineName = proLineName;
	}

	// Property accessors
	@Id
	@GenericGenerator(name="idGenerator", strategy="uuid")
	@GeneratedValue(generator="idGenerator") 
	@Column(name = "id", unique = true, nullable = false, length = 32)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "pro_code")
	public String getProCode() {
		return this.proCode;
	}

	public void setProCode(String proCode) {
		this.proCode = proCode;
	}

	@Column(name = "pro_name")
	public String getProName() {
		return this.proName;
	}

	public void setProName(String proName) {
		this.proName = proName;
	}

	@Column(name = "pro_line_code")
	public String getProLineCode() {
		return this.proLineCode;
	}

	public void setProLineCode(String proLineCode) {
		this.proLineCode = proLineCode;
	}

	@Column(name = "pro_line_name")
	public String getProLineName() {
		return this.proLineName;
	}

	public void setProLineName(String proLineName) {
		this.proLineName = proLineName;
	}

}